Hi there,
I am wondering if there is a function doing the same as in PHP strpad()?
What I want to do is to make sure a string is always 2 characters long. If it is
one character the function should add a 0 in front.
Eg: make a "04" out of "4"
Is this possible?
Thank you for any hint,
Merlin
I am wondering if there is a function doing the same as in PHP strpad()?
What I want to do is to make sure a string is always 2 characters long. If it is
one character the function should add a 0 in front.
Eg: make a "04" out of "4"
Is this possible?
Thank you for any hint,
Merlin
Comment